@import "../vars";
@import "../mixin";

.xdh-nav-tabs {
  font-size: 0;
  @include clearfix;

  width: 100%;
  height: 30px;
  background: $--color-primary-light-9;
  .el-tabs__item {
    height: 30px;
    line-height: 30px;
    color: $--color-info;
    font-size: 12px;
    i {
      font-size: 12px;
    }
  }
  .el-tabs__item.is-active {
    background-color: $--color-white;
  }
  .el-tabs__nav {
    border-radius: 0 !important;
  }
  .el-tabs__header {
    background: $--color-primary-light-9;
    margin: 0;
  }
  .el-tabs__nav-next, .el-tabs__nav-prev {
    line-height: 30px;
  }
  .el-tabs__nav-scroll {
    position: relative;
    left: 0
  }
  &__tabs.has-tool {
    width: calc(100% - 30px);
    display: inline-block;
  }
  &__tool {
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    display: inline-block;
    vertical-align: top;
    border-bottom: 1px solid $--border-color-light;
    cursor: pointer;
    .el-icon-setting:hover {
      color: $--link-hover-color;
    }
  }

}
